package org.theSeed.fileContract.pojo.dto;

import lombok.Getter;
import lombok.Setter;

/**
 * 分片文件信息
 */
@Getter
@Setter
public class RecordChipInfoDto {
    public RecordChipInfoDto() {
    }

    public RecordChipInfoDto(String contractTypeInstance, String contractType, String resourceId, Integer chipSize) {
        this.contractTypeInstance = contractTypeInstance;
        this.contractType = contractType;
        this.resourceId = resourceId;
        this.chipSize = chipSize;
    }

    /**
     * 合约实例名称
     */
    private String contractTypeInstance;

    /**
     * 上传文件实现类型
     */
    private String contractType;

    /**
     * 访问id,资源全局唯一表示
     */
    private String resourceId;

    /**
     * 片数量
     * 上传需要从o开始计数
     */
    private Integer chipSize;
}
